package day06;
//数组的复制
public class ArrayDemo {
    public static void main(String[] args) {
        {
            int[] a={10,20,30,40};





















            /*int[] a={10,20,30,40,50,};
        int[] b=new int[6];
        System.arraycopy(a,1,b,2,3);//a;原数组 1；源数组的起始下标
        for (int i=0;i<b.length;i++){
            System.out.println(b[i]);*/

        }
    }
}
